package cn.jbt.api.admin.repository;

import cn.jbt.api.admin.entity.SysDeptHead;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysDeptHeadRepository extends JpaRepository<SysDeptHead, Long> {

    void deleteByDeptIdIn(List<Long> deptIds);

    void deleteByDeptId(long deptId);

}
